package com.alm.handle.service;

import com.alm.entity.GetWayUpLoadData;
import com.alm.entity.PasingByteModel;
import com.alm.handle.core.domain.entity.SysDevInfo;
import com.alm.handle.core.domain.entity.rq.GetWayInfoRq;
import com.alm.handle.core.domain.entity.rq.JdqControlsRq;

import java.util.List;

public interface AlmGetWayDevCurrentDataService {
    /**
     * 网关处理上报数据   插座
     * @param gwMac
     * @param upLoadData
     */
    void  pasingGetWayData(String gwMac,GetWayUpLoadData upLoadData);

    /**
     * 网关登录
     * @param header
     * @throws Exception
     */
    void  getWaylogin(PasingByteModel.Header header) throws Exception;

    /**
     *  查询集合展示
     * @param getWayInfoRq
     * @throws Exception
     */
    List<SysDevInfo> queryListByRq(GetWayInfoRq getWayInfoRq )  ;

    /**
     * 生成继电器开关
     * @param jdqControlsRq
     * @return
     */
    Boolean sendJdqControlsRq(JdqControlsRq jdqControlsRq);

    /**
     * 生成透传数据
     * @param devid
     * @param tcData
     * @param mac
     * @param sUuid
     * @param uUuid
     * @return
     */
    byte[] transparencyTransmission(String devid, String tcData, String mac,byte[] sUuid,byte [] uUuid) ;

    /**
     *
     * @param header
     */
    void deal_lable(PasingByteModel.Header header);
}
